using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using System.Runtime;
using System.Diagnostics;

namespace UmlDesigner
{
    public partial class AboutBox : Form
    {
        public AboutBox()
        {
            InitializeComponent();

            AssemblyName name = Assembly.GetExecutingAssembly().GetName();

            richTextBox1.AppendText(name.Name + "\n");
            richTextBox1.AppendText("Version: " + name.Version + "\n");

            richTextBox1.AppendText("\nhttp://www.greenbirdsoftware.com\n");

            richTextBox1.AppendText("\nPlease send any comments, feedback, or feature requests to mailto:umldesigner@greenbirdsoftware.com\n");

            richTextBox1.AppendText("\nLicense Details:\n");
            richTextBox1.AppendText(UmlDesigner.Properties.Resources.license);
        }

        private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
        {
            Process.Start(e.LinkText);
        }
    }
}